package com.tanhua.dubbo.server.api;

import com.tanhua.dubbo.server.pojo.Visitors;
import com.tanhua.dubbo.server.vo.PageInfo;

import java.util.List;

/**
 * * @title: VisitorsApi
 *
 * @Author Philcan
 * @Date: 2021/8/17 20:18
 * @Version 1.0
 */
public interface VisitorsApi {
    String saveVisitor(Long userId, Long visitorUserId, String from);

    List<Visitors> queryMyVisitor(Long userId);

    PageInfo<Visitors> topVisitor(Long userId,Integer page,Integer pageSize);
}
